.pe-notification {
    display: flex;
    width: 330px;
    padding: 14px 26px 14px 13px;
    border-radius: var(--pe-border-radius);
    box-sizing: border-box;
    border: 1px solid var(--pe-color-border);
    background-color: var(--pe-color-white);
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .12);
    overflow-wrap: break-word;
    overflow: hidden;
    position: fixed;
    transition: all var(--pe-duration);

    .pe-notification-icon {
        height: 20px;
        font-size: 20px;
        margin-right: 5px;
    }

    .pe-notification-title {
        display: flex;
        align-items: center;
        margin: 0;
        margin-bottom: 10px;
        font-size: var(--pe-font-size-large);
        justify-content: space-between;

        .pe-notification-close {
            cursor: pointer;
            font-size: var(--pe-font-size-large);
            width: var(--pe-font-size-large);
            height: var(--pe-font-size-large);
        }
    }

    .pe-notification-content {
        font-size: var(--pe-font-size-default);
    }
}

.pe-notification-top-right,
.pe-notification-bottom-right {
    right: 5px;
    animation: right var(--pe-duration) forwards;
}

@keyframes right {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.pe-notification-top-right-out,
.pe-notification-bottom-right-out {
    right: 5px;
    animation: right-out var(--pe-duration) forwards;
}

@keyframes right-out {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.pe-notification-top-left,
.pe-notification-bottom-left {
    left: 5px;
    animation: left var(--pe-duration) forwards;
}

@keyframes left {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.pe-notification-top-left-out,
.pe-notification-bottom-left-out {
    left: 5px;
    animation: left-out var(--pe-duration) forwards;
}

@keyframes left-out {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}